package org.logsin37.tool.eurekamanager.domain.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Eureka Instance Lease Info
 *
 * @author logsin37 2020/01/19 16:34
 */

@Getter
@Setter
@Accessors(chain = true)
@ToString(doNotUseGetters = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EurekaInstanceLeaseInfo {

    private Long renewalIntervalInSecs;

    private Long durationInSecs;

    private Long registrationTimestamp;

    private Long lastRenewalTimestamp;

    private Long evictionTimestamp;

    private Long serviceUpTimestamp;

}
